<?php
//数据库连接
$servername = "localhost";
$username = "root";
$password = "123456";
$dbname = "myDB";

// $conn = mysqli_connect($servername, $username, $password, $dbname);
// if (!$conn) {
//   die("Connection failed: " . mysqli_connect_error());
// }

// $sql = "SELECT * FROM customers";
// $result = mysqli_query($conn, $sql);

// while ($row = mysqli_fetch_assoc($result)) {
//   echo "Name: ".$row["name"]." - Email: ".$row["email"];
// }

// mysqli_close($conn);
?>